﻿{% extends "gma/base.html" %}
{% load mytag %}

<!-- CONTENT
  =====================================================================-->

{% block content %}

<div class="page__hd">
    <h1 class="page__title">
        <i class="fa fa-eye weui_grid_icon_fa" style="font-size: 32px;"> </i> 数据监测
    </h1>
    <p class="page__desc"> YYZBAPP的数据监测 </p>
</div>

<div class="page__bd">
    {% if permissions.system_config.open %}
    <div class="weui-cells__title"> 钻石预测 </div>
    <div class="weui-cells">
        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 累计钻石产出 </p> </div>
            <div class="weui-cell__ft"> {{ data.total_diamond_input }} <i class="fa fa-gem"></i></div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-ticket-alt gm_menu_item_icon"></i> 累计趣票产出 </p> </div>
            <div class="weui-cell__ft"> - {{ data.total_ticket_input }} <i class="fa fa-ticket-alt"></i></div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 预测剩余钻石 </p> </div>
            <div class="weui-cell__ft"> = {{ data.predicted_left_diamond_amount }} <i class="fa fa-gem"></i> </div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 实际剩余钻石 </p> </div>
            <div class="weui-cell__ft"> {{ data.total_left_diamond }} <i class="fa fa-gem"></i> </div>
        </div>

        <div class="weui-cell">
{#            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 钻石误差(16956) </p> </div>#}
{#            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 钻石误差(8782) </p> </div>#}
{#            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 钻石误差(12275) </p> </div>#}
            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 钻石误差 </p> </div>
            <div class="weui-cell__ft" style="color:red"> {{ data.diamond_delta }} <i class="fa fa-gem"></i> </div>
        </div>
    </div>

    <div class="weui-cells__title"> 钻石详情 </div>
    <div class="weui-cells">
        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 累计充值钻石 </p> </div>
            <div class="weui-cell__ft"> {{ data.total_charged_diamond }} <i class="fa fa-gem"></i></div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 累计测试充值钻石(6091) </p> </div>
            <div class="weui-cell__ft"> {{ data.total_test_charged_diamond }} <i class="fa fa-gem"></i></div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 用户分享奖励钻石(2510) </p> </div>
            <div class="weui-cell__ft"> {{ data.agent_share_diamond }} <i class="fa fa-gem"></i></div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 被代理邀请赠送钻石(3605) </p> </div>
            <div class="weui-cell__ft"> {{ data.invited_by_agent_diamond }} <i class="fa fa-gem"></i></div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 被合伙人邀请赠送钻石(20770) </p> </div>
            <div class="weui-cell__ft"> {{ data.invited_by_partner_diamond }} <i class="fa fa-gem"></i></div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 新人免费赠送的钻石(36735) </p> </div>
            <div class="weui-cell__ft"> {{ data.activity_free_diamond }} <i class="fa fa-gem"></i></div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> GM充值的钻石(30289) </p> </div>
            <div class="weui-cell__ft"> {{ data.gm_diamond }} <i class="fa fa-gem"></i></div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-gem gm_menu_item_icon"></i> 累计钻石产出 </p> </div>
            <div class="weui-cell__ft"> {{ data.total_diamond_input }} <i class="fa fa-gem"></i></div>
        </div>
    </div>

    <div class="weui-cells__title"> 趣票详情 </div>
    <div class="weui-cells">
        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-ticket-alt gm_menu_item_icon"></i> 公会结算趣票 </p> </div>
            <div class="weui-cell__ft"> {{ data.guild_archive_ticket }} <i class="fa fa-ticket-alt"></i></div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-ticket-alt gm_menu_item_icon"></i> 个人结算趣票 </p> </div>
            <div class="weui-cell__ft"> {{ data.caster_archive_ticket }} <i class="fa fa-ticket-alt"></i></div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-ticket-alt gm_menu_item_icon"></i> dvkeep贡献趣票 </p> </div>
            <div class="weui-cell__ft"> {{ data.devkeep_tickets }} <i class="fa fa-ticket-alt"></i></div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-ticket-alt gm_menu_item_icon"></i> 实际剩余趣票 </p> </div>
            <div class="weui-cell__ft"> {{ data.total_left_ticket }} <i class="fa fa-ticket-alt"></i> </div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p> <i class="fa fa-ticket-alt gm_menu_item_icon"></i> 累计趣票产出 </p> </div>
            <div class="weui-cell__ft"> {{ data.total_ticket_input }} <i class="fa fa-ticket-alt"></i></div>
        </div>
    </div>
    {% endif %}
</div>

<div class="page__ft">
    <a href="{% url 'gma:home' %}">
        <span class="bottom-logo">
           HiBao
       </span>
    </a>
</div>

{% endblock content %}


<!-- SCRIPT
  =====================================================================-->

{% block extra_js %}
{% endblock extra_js %}